-
Notifications
You must be signed in to change notification settings - Fork 35
Upgrade to NHS.UK frontend v10.3 #323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
b5a442f to
ba70e15
Compare
ba70e15 to
fac75a6
Compare
|
Not sure if you'd be up for reviewing this please @mikeathan-nhs? I could do with adding some extra bits to the migration guide but the component changes are ready to review |
fac75a6 to
8b64fbb
Compare
|
Hi yes i can do. we have sprint ceremonies today so when i get a chance will go through the changes, Thanks |
| data-checkbox-exclusive-group={name} | ||
| checked={checked} | ||
| defaultChecked={defaultChecked} | ||
| data-checkbox-exclusive-group={name} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think data-checkbox-exclusive-group should be set only if exclusive prop is set too ?
| {visuallyHiddenText ? ( | ||
| <> | ||
| <span className="nhsuk-u-visually-hidden">{`${visuallyHiddenText}:`}</span> {children} | ||
| <span className="nhsuk-u-visually-hidden"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
although is not present in the service manual, in the Changelog they mention swap the <span class="nhsuk-error-message"> for a <p class="nhsuk-error-message">
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted, thank you
| return ( | ||
| <search className="nhsuk-header__search"> | ||
| <form className="nhsuk-header__search-form" id={id} action={action} method={method} {...rest}> | ||
| <label className="nhsuk-u-visually-hidden" htmlFor="search-field"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.



This PR upgrades the React components to NHS.UK frontend v10.3
The file upload component, card actions and interruption panel variant are all included